package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username  string `gorm:"type:varchar(11);not null;"`
	Password  string `gorm:"type:varchar(32);not null;"`
	HeadImage string `gorm:"type:varchar(200);not null;"`
	Name      string `gorm:"type:varchar(20);not null;"`
	Tel       string `gorm:"type:varchar(11);not null;"`
	Birthday  string `gorm:"type:varchar(30);not null;"`
	Sex       string `gorm:"type:varchar(10);not null;"`
	introduce string `gorm:"type:varchar(300);not null;"`
}
